home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / fax / src / port / svr4 / Makefile < prev    next >
Makefile  |  1994-08-01  |  2KB  |  55 lines

  1. #! smake
  2. #    $Header: /usr/people/sam/fax/port/svr4/RCS/Makefile,v 1.4 1994/03/29 00:36:51 sam Rel $
  3. #
  4. # FlexFAX Facsimile Software
  5. #
  6. # Copyright (c) 1993, 1994 Sam Leffler
  7. # Copyright (c) 1993, 1994 Silicon Graphics, Inc.
  8. # Permission to use, copy, modify, distribute, and sell this software and 
  9. # its documentation for any purpose is hereby granted without fee, provided
  10. # that (i) the above copyright notices and this permission notice appear in
  11. # all copies of the software and related documentation, and (ii) the names of
  12. # Sam Leffler and Silicon Graphics may not be used in any advertising or
  13. # publicity relating to the software without the specific, prior written
  14. # permission of Sam Leffler and Silicon Graphics.
  15. # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
  16. # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
  17. # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
  18. # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
  19. # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
  20. # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  21. # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
  22. # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
  23. # OF THIS SOFTWARE.
  24. #
  25. DEPTH=../..
  26. include ${DEPTH}/defs
  27.  
  28. CFILES=\
  29.     flock.c \
  30.     ${NULL}
  31. TARGETS=lockname libport.a
  32.  
  33. default all::
  34.     @${MAKE} incdepend
  35.     @${MAKE} targets
  36.  
  37. targets: $(TARGETS)
  38.  
  39. include ${COMMONRULES}
  40.  
  41. lockname: lockname.c
  42.     ${CCF} -o $@ lockname.c
  43.  
  44. libport.a: ${OBJECTS}
  45.     @rm -f $@;
  46.     ${AR} ${AROPTS} $@ ${OBJECTS}
  47.     ${RANLIB} $@
  48. ${PORT}/libport.a: libport.a
  49.  
  50. install: default
  51.     ${INSTALL} -m 755 -idb ${PRODUCT}.sw.server -F ${SPOOL}/bin -O lockname
  52.